<template>
    <view class="notice page pd-30">
      <view
        class="msgList flex mt-20"
        v-for="(item, index) in msgList"
        :key="index"
      >
        <view class="card pd-20">
          <view class="flex-bwt">
              <view class="ft1">{{ "优惠活动通知" }}</view>
              <view class="flex mr-20"> 
                <image class="wh-32" src="https://cdn.oss.bon-top.cn/static_bc/images/shareIcon.png"></image>
                <text class="ft ml-8">{{ '分享' }}</text>
              </view>
          </view>
          <view class="ft mt-24 c-99">{{ '2024-11-06 17:00' }}</view>
          <view class="ft mt-20 c-99">{{ '购物商城年终活动来袭！超多优惠商品，精彩互动游戏，丰厚奖品等你。快来畅享购物盛宴，迎接新一年。' }}</view>
          <view class="pic mt-20"></view>
          <view class="text ft mt-40 c-99">{{ "点击参加活动" }}</view>
          <view class="btnNew  flex-center ft1 c-ff" >我要参与</view>
        </view>
      </view>
  
      <view class="btnGroup">
        <view class="btn1 flex-eve">
          <view class="allClear flex-center">{{ "删除" }}</view>
          <view class="noRead flex-center">{{ "返回" }}</view>
        </view>
      </view>
    </view>
  </template>
  
  <script lang="js" setup>
  import { ref, reactive } from "vue";
  
  const msgList =ref([
      {time:"2024-11-06 17:00",title:"登录成功",des:'尊敬的“Solomon”用户，您于2024-10-10 16:23成功登陆。'},
    
  ])
  </script>
  <style lang="scss" scoped>
  .msgList {
    flex-direction: column;
    justify-content: center;
    .card {
        width: 690rpx;
height: 788rpx;
background: #F8F8F8;
border-radius: 40rpx 40rpx 40rpx 40rpx;
    }
    .btn {
      width: 170rpx;
      height: 54rpx;
      background: #ffffff;
      border-radius: 20rpx 20rpx 20rpx 20rpx;
    }
  }
  
  .btnGroup {
    width: 750rpx;
    height: 186rpx;
    position: fixed;
    left: 0;
    bottom: 0;
    background: #f8f8f8;
    .btn1 {
      //border: 2rpx solid red;
      width: 750rpx;
      height: 118rpx;
      background: #f8f8f8;
      .allClear {
        width: 196rpx;
        height: 78rpx;
        background: #ffffff;
        border-radius: 20rpx 20rpx 20rpx 20rpx;
        font-weight: 400;
        font-size: 28rpx;
        color: #333333;
      }
      .noRead {
        width: 454rpx;
        height: 78rpx;
        background: #333333;
        border-radius: 20rpx 20rpx 20rpx 20rpx;
        font-weight: 400;
        font-size: 28rpx;
        color: #dbf046;
      }
    }
  }
 .text{
    width: 100%;
    text-align: center;
 }

 .btnNew{
    width: 448rpx;
height: 78rpx;
background: #333333;
border-radius: 20rpx 20rpx 20rpx 20rpx;
margin: auto;
margin-top: 24rpx;
 }
  .pic{
    width: 650rpx;
height: 380rpx;
background: linear-gradient( 48deg, #F87A20 0%, rgba(248,122,32,0.98) 49%, rgba(248,122,32,0) 100%);
border-radius: 40rpx 40rpx 40rpx 40rpx;
  }
  </style>
  